﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ERPPublic;
using SqlSugar;

namespace FinancialManagement.Domain.Model
{
    /// <summary>
    /// 应付账款
    /// </summary>
    [SugarTable("BillsPayable")]
    public class BillsPayable : Audit
    {
        /// <summary>
        /// 应付账款ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int BPId { get; set; }
        /// <summary>
        /// 付款计划编号
        /// </summary>
        public string? BPaymentPlanNumber { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string? BVName { get; set; }
        /// <summary>
        /// 应付日期
        /// </summary>
        public DateTime? BDueDate { get; set; }
        /// <summary>
        /// 计划付款日期
        /// </summary>
        public DateTime? BScheduledPaymentDate { get; set; }
        /// <summary>
        /// 本次计划付款金额
        /// </summary>
        public decimal? BThisPaymentAmount { get; set; }
        /// <summary>
        /// 已申请付款金额
        /// </summary>
        public decimal? BRequestedPaymentAmount { get; set; }
    }
}
